{"version":3,"file":"textfield.bundle.map.js","names":["this","BX","Landing","UI","exports","landing_ui_field_basefield","main_core","main_core_events","landing_ui_component_internal","TextField","_BaseField","babelHelpers","inherits","options","_this","classCallCheck","possibleConstructorReturn","getPrototypeOf","call","setEventNamespace","subscribeFromOptions","fetchEventsFromOptions","bind","changeTagButton","onInputHandler","Type","isFunction","onInput","onValueChangeHandler","onValueChange","textOnly","isBoolean","content","Text","encode","input","innerHTML","onInputClick","assertThisInitialized","onInputMousedown","onDocumentMouseup","onInputInput","onDocumentClick","onDocumentKeydown","onInputKeydown","Event","document","createClass","key","value","innerText","event","BaseEvent","data","getValue","compatData","emit","keyCode","isEditable","Field","BaseField","currentField","Panel","EditorPanel","getInstance","hide","disableEdit","isTextOnly","preventDefault","enableTextOnly","concat","trim","disableTextOnly","isContentEditable","contentEditable","fromInput","_this2","setTimeout","stopPropagation","enableEdit","Tool","ColorPicker","hideAll","requestAnimationFrame","target","nodeName","range","createRange","selectNode","window","getSelection","removeAllRanges","addRange","onChangeHandler","onChangeTag","show","layout","tag","reset","setValue","adjustTags","element","lastChild","Dom","remove","Runtime","clone","replace","Component"],"sources":["textfield.bundle.js"],"mappings":"AAAAA,KAAKC,GAAKD,KAAKC,IAAM,CAAC,EACtBD,KAAKC,GAAGC,QAAUF,KAAKC,GAAGC,SAAW,CAAC,EACtCF,KAAKC,GAAGC,QAAQC,GAAKH,KAAKC,GAAGC,QAAQC,IAAM,CAAC,GAC3C,SAAUC,EAAQC,EAA2BC,EAAUC,EAAiBC,GACxE,aAEA,IAAIC,EAAyB,SAAUC,GACrCC,aAAaC,SAASH,EAAWC,GACjC,SAASD,EAAUI,GACjB,IAAIC,EACJH,aAAaI,eAAef,KAAMS,GAClCK,EAAQH,aAAaK,0BAA0BhB,KAAMW,aAAaM,eAAeR,GAAWS,KAAKlB,KAAMa,IACvGC,EAAMK,kBAAkB,iCACxBL,EAAMM,qBAAqBZ,EAA8Ba,uBAAuBR,IAChFC,EAAMQ,KAAOR,E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